package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.math.BigDecimal;


@Table(name = "t_shop_car")
public class ShopCar extends BaseEntity {

    private Integer id;
    /**
     * 用户编号
     **/
    private Integer userId;
    /**
     * 商品编号
     **/
    private Integer goodsId;
    /**
     * 商家编号
     **/
    private Integer bussId;
    /**
     * 参数规格
     **/
    private String goodsSpec;
    /**
     * 数量
     **/
    private Integer number;
    /**
     * 是否上门服务
     */
    private Integer isHomeInstallation;
    /**
     * 是否免费
     **/
    private Integer isFree;
    /**
     * 是否可以预约
     **/
    private Integer isBespeak;
    /**
     * 是否无理由退货
     **/
    private Integer isNoReasonReturn;
    /**
     * 单位
     **/
    private String unit;
    /**
     * 单位
     **/
    private BigDecimal goodsPrice;

    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 用户编号
     **/
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 商品编号
     **/
    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 商家编号
     **/
    public Integer getBussId() {
        return bussId;
    }

    public void setBussId(Integer bussId) {
        this.bussId = bussId;
    }

    /**
     * 参数规格
     **/
    public String getGoodsSpec() {
        return goodsSpec;
    }

    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }

    /**
     * 数量
     **/
    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getIsFree() {
        return isFree;
    }

    public void setIsFree(Integer isFree) {
        this.isFree = isFree;
    }

    public Integer getIsBespeak() {
        return isBespeak;
    }

    public void setIsBespeak(Integer isBespeak) {
        this.isBespeak = isBespeak;
    }

    public Integer getIsNoReasonReturn() {
        return isNoReasonReturn;
    }

    public void setIsNoReasonReturn(Integer isNoReasonReturn) {
        this.isNoReasonReturn = isNoReasonReturn;
    }

    public Integer getIsHomeInstallation() {

        return isHomeInstallation;
    }

    public void setIsHomeInstallation(Integer isHomeInstallation) {
        this.isHomeInstallation = isHomeInstallation;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(BigDecimal goodsPrice) {
        this.goodsPrice = goodsPrice;
    }
}